##TPLHEADERSHORT##
	<script type="text/javascript">
		var oscamconf = 'user';
		existing_inserts = new Array(##EXISTING_INS##);
	</script>
##TPLBODY##
##TPLMENU##
##TPLMESSAGE##
<DIV ID="subnav"><UL ID="nav"><LI CLASS="text_entitle">Edit User ##USERNAME##</LI></UL></DIV>
	<form action="user_edit.html" method="get" name="user_edit">
		<input name="user" type="hidden" value="##USERNAME##">
		<TABLE CLASS="configuser">
			<TR><TH COLSPAN="2">User general settings</TH></TR>
			<TR><TD><A>Password:</A></TD><TD><input name="pwd" class="longer" type="text" maxlength="63" value="##PASSWORD##"></TD></TR>
			<TR><TD><A>Description:</A></TD><TD><input name="description" type="text" maxlength="256" value="##DESCRIPTION##"></TD></TR>
			<TR><TD><A>Disabled:</A></TD><TD><input name="disabled" type="hidden" value="0"><input name="disabled" type="checkbox" value="1" ##DISABLEDCHECKED##><label></label></TD></TR>
			<TR><TD><A>Exp. Date:</A></TD><TD><input name="expdate" class="medium" type="text" maxlength="30" value="##EXPDATE##"></TD></TR>
			<TR><TD><A>Failban:</A></TD><TD><input name="failban" class="short" type="text" maxlength="1" value="##FAILBAN##"></TD></TR>
			<TR><TD><A>Allowed Timeframe:</A></TD><TD>DAY<b>@</b>HH:MM-HH:MM[<b>,</b>HH:MM-HH:MM[<b>;</b>DAY<b>@</b>HH:MM-HH:MM[<b>,</b>HH:MM-HH:MM]]]<br>where DAY=SUN,MON,TUE,WED,THU,FRI,SAT,ALL<br><textarea name="allowedtimeframe" rows="5" maxlength="1000" class="bt" >##ALLOWEDTIMEFRAME##</textarea></TD></TR>
			<TR><TD><A>Allowed Protocols:</A></TD><TD><input name="allowedprotocols" type="text" maxlength="60" value="##ALLOWEDPROTOCOLS##"></TD></TR>
			<TR><TD><A>Group:</A></TD><TD><input name="group" class="longer" type="text" maxlength="183" value="##GROUPS##"> Valid values 1-64</TD></TR>
			<TR><TD><A>Hostname:</A></TD><TD><input name="hostname" type="text" maxlength="63" value="##DYNDNS##"></TD></TR>
			<TR><TD><A>Uniq:</A></TD>
				<TD>
					<select name="uniq">
						<option value="0" ##UNIQSELECTED0##>0 - none</option>
						<option value="1" ##UNIQSELECTED1##>1 - strict first</option>
						<option value="2" ##UNIQSELECTED2##>2 - per IP</option>
						<option value="3" ##UNIQSELECTED3##>3 - strict last</option>
						<option value="4" ##UNIQSELECTED4##>4 - per IP last</option>
					</select>
				</TD>
			</TR>
			<TR><TD><A>Max. Connections:</A></TD><TD><input name="max_connections" class="short" type="text" maxlength="4" value="##MAXCONNECTIONS##"></TD></TR>
			<TR><TD><A>Sleep:</A></TD><TD><input name="sleep" class="short" type="text" maxlength="4" value="##SLEEP##"></TD></TR>
			<TR><TD><A>Sleepsend:</A></TD><TD><select name="sleepsend"><option value="0"> 0 - SleepSend Off (Default)</option><option value="255" ##SLEEPSEND##>255 - SleepSend On</option></select></TD></TR>
##TPLUSEREDITMONLEVEL##
			<TR><TD><A>AU:</A></TD><TD><input name="au" type="text" maxlength="63" value="##AUREADER##"></TD></TR>
			<TR><TD><A>CAID:</A></TD><TD><input name="caid" type="text" maxlength="160" value="##CAIDS##"></TD></TR>
			<TR><TD><A>Ident:</A></TD><TD><textarea name="ident" rows="3" class="bt">##IDENTS##</textarea></TD></TR>
			<TR><TD><A>CHID:</A></TD><TD><textarea name="chid" rows="3" class="bt">##CHIDS##</textarea></TD></TR>
			<TR><TD><A>Class:</A></TD><TD><input name="class" type="text" maxlength="150" value="##CLASS##"></TD></TR>
			<TR><TD><A>Betatunnel:</A></TD><TD><textarea name="betatunnel" rows="3" class="bt">##BETATUNNELS##</textarea></TD></TR>
			<TR><TD><A>Suppresscmd08:</A></TD><TD><select name="suppresscmd08"><option value="0">CMD08 active</option><option value="1" ##SUPPRESSCMD08##>CMD08 suppressed</option></select></TD></TR>
			<TR><TD><A>User Max Idle:</A></TD><TD><input name="umaxidle" class="withunit short" type="text" maxlength="3" value="##UMAXIDLE##"> s to disconnect idle users</TD></TR>
			<TR><TD><A>EMM Reassembly:</A></TD>
				<TD>
					<select name="emmreassembly">
						<option value="0" ##EMMRSELECTED0##>0 - disabled</option>
						<option value="1" ##EMMRSELECTED1##>1 - enabled for DVBAPI</option>
						<option value="2" ##EMMRSELECTED2##>2 - enabled (default)</option>
					</select>
				</TD>
			</TR>
			<TR><TD><A>Prefer local cards:</A></TD>
				<TD>
					<select name="preferlocalcards">
						<option value="-1" ##PREFERLOCALCARDS-1##>-1 - Use Global Prefer local cards</option>
						<option value="0"  ##PREFERLOCALCARDS0## >&nbsp;0 - local cards like proxied</option>
						<option value="1"  ##PREFERLOCALCARDS1## >&nbsp;1 - prefer cache-ex then local cards</option>
						<option value="2"  ##PREFERLOCALCARDS2## >&nbsp;2 - prefer local cards above cache-ex</option>
					</select>
					&nbsp;Global Prefer local cards value:<SPAN CLASS="global_conf" TITLE="This value is used if Prefer local cards = -1"><A HREF="config.html?part=global">##CFGPREFERLOCALCARDS##</A></SPAN>
				</TD>
			</TR>
##USEREDITSIDINS##
##TPLUSEREDITANTICASC##
##TPLUSEREDITCCCAM##
			<TR><TD><A>Keepalive:</A></TD><TD><input name="keepalive" type="hidden" value="0"><input name="keepalive" type="checkbox" value="1" ##KEEPALIVE##><label></label></TD></TR>
##TPLUSEREDITCACHEEXBIT##
##TPLUSEREDITCWCYCLE##
			<TR>
				<TD CLASS="centered"><input type="submit" name="action" value="Save" title="Save settings and reload users" ##BTNDISABLED##></TD>
				<TD CLASS="centered"><input name="newuser" class="longer" type="text" maxlength="20" title="Enter new username if you want to clone this user">&nbsp;&nbsp;&nbsp;<input type="submit" onclick="return chkinsert(document.user_edit.newuser.value)" name="action" value="Save As" title="Save as new user and reload users" ##BTNDISABLED##></TD>
			</TR>
			<TR CLASS="configfirstrow"><TD></TD><TD></TD></TR>
		</TABLE>
	</form>
##TPLFOOTER##
